<div>
    <div class="ibox">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="房屋交房" namespace="roomBindOwner"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">
                <button type="button" class="btn btn-primary btn-sm" v-on:click="_goBack()">
                    <i class="fa fa-times"></i>返回
                </button>
            </div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-md-12">
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <vc:i18n name="房屋" namespace="roomBindOwner"></vc:i18n>
                        </label>
                        <div class="col-sm-8">
                            <input v-model.trim="roomBindOwnerInfo.roomName" type="text" disabled
                                :placeholder="vc.i18n('必填，请填写房屋名称','roomBindOwner')" class="form-control">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <vc:i18n name="业主" namespace="roomBindOwner"></vc:i18n>
                        </label>
                        <div class="col-sm-7">
                            <input v-model.trim="roomBindOwnerInfo.ownerName" disabled type="text"
                                :placeholder="vc.i18n('必填，请选择业主','roomBindOwner')" class="form-control">
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_openChooseOwner()">
                                <i class="fa fa-plus"></i>选择业主
                            </button>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <vc:i18n name="开始时间" namespace="roomBindOwner"></vc:i18n>
                        </label>
                        <div class="col-sm-8">
                            <input v-model="roomBindOwnerInfo.startTime" type="text"
                                :placeholder="vc.i18n('必填，请填写开始时间','roomBindOwner')" class="form-control addStartTime">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label text-right">
                            <vc:i18n name="结束时间" namespace="roomBindOwner"></vc:i18n>
                        </label>
                        <div class="col-sm-8">
                            <input v-model="roomBindOwnerInfo.endTime" type="text"
                                :placeholder="vc.i18n('必填，请填写结束时间','roomBindOwner')" class="form-control addEndTime">
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
    <div class="row">
        <div class="col-md-12 text-right">
            <button class="btn btn-primary" type="button" v-on:click="saveRoomBindOwnerInfo()"><i
                    class="fa fa-check"></i>&nbsp;提交
            </button>
        </div>
    </div>
    <vc:create path="property/searchOwner" emitChooseOwner="roomBindOwner" emitLoadData="roomBindOwner"></vc:create>
</div>